package com.huaru.formboot.form.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel
public class TableTemplateVo  implements Serializable {
    private static final long serialVersionUID = 4272661013912040781L;
    /**
     * 表单id
     */
    @ApiModelProperty(name = "表单id",example = "123")
    private String tableId;

    /**
     * 表单名称
     */
    @ApiModelProperty(name = "表单名称",example = "表单名称")
    private String tableName;

    /**
     * 表单父id
     */
    @ApiModelProperty(name = "表单父id",example = "456")
    private String tableParentId;

    /**
     * 表单排序
     */
    @ApiModelProperty(name = "表单排序",example = "1")
    private String tableSort;
    /**
     * 表单json
     */
    @ApiModelProperty(name = "表单json",example = "{}")
    private String tableJson;
    /**
     * 子节点
     */
    @ApiModelProperty(name = "子节点")
    private List<TableTemplateVo> children;

    public List<TableTemplateVo> getChildren() {
        return children;
    }

    public void setChildren(List<TableTemplateVo> children) {
        this.children = children;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableParentId() {
        return tableParentId;
    }

    public void setTableParentId(String tableParentId) {
        this.tableParentId = tableParentId;
    }

    public String getTableSort() {
        return tableSort;
    }

    public void setTableSort(String tableSort) {
        this.tableSort = tableSort;
    }

    public String getTableJson() {
        return tableJson;
    }

    public void setTableJson(String tableJson) {
        this.tableJson = tableJson;
    }
}
